package com.coocaa.ops.common.tool.exception;


import com.coocaa.ops.common.tool.http.HttpCodeEnums;

/**
 * @author bijiahao
 * @date : 2018/2/25.
 * @description
 */
public class IllegalParameterException extends BaseException {
    public IllegalParameterException() {
    }

    public IllegalParameterException(Throwable ex) {
        super(ex);
    }

    public IllegalParameterException(String message) {
        super(message);
    }

    public IllegalParameterException(String message, Throwable ex) {
        super(message, ex);
    }

    @Override
    public HttpCodeEnums getCode() {
        return HttpCodeEnums.BAD_REQUEST;
    }
}